package com.youhome.business.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created by chen365 on 2019/02/26.
 */
@Data
@ApiModel
public class DTOMessageSend {

    @ApiModelProperty(value = "接收者ID(userid)多个以,分隔", required = true)
    @NotBlank(message = "接收者不能为空")
    private String receivers;

    @ApiModelProperty(value = "信息标题", required = true)
    @NotBlank(message = "信息标题不能为空")
    private String title;

    @ApiModelProperty(value = "信息内容", required = true)
    @NotBlank(message = "信息内容不能为空")
    private String content;


}
